Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
That growth environment will include rising inflation and interest rates. Those upward shifts naturally accompany healthy growth periods as the demand for resources, products and services rise. Importantly, the Federal Reserve has laid out the rationale for not interfering with that natural growth transition.It's not exactly a fad, but there is a widespread willingness to pay up for a growth story. Classic fundamental analysis takes a back seat. Even negative earnings are ignored. In fact, positive earnings seem to be a limiting measure, producing the question, "Is that all you've got?" The preference is a vision of untold riches when the exciting story plays out as expected.
What is Secret Chats of Telegram
Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.
Библиотека C C разработчика | cpp boost qt from jp